home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 February: Tool Chest / Dev.CD Feb 99 TC.toast / What's New? / Development Kits / Mac OS USB v1.1f3 DDK / Examples / PrinterClassDriver / ChooserPACK.cp < prev    next >
Encoding:
Text File  |  1999-01-07  |  622 b   |  23 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ChooserPACK.cp
  3.  
  4.     Contains:    Implementation of the Chooser's PACK jump table.
  5.  
  6. */
  7.  
  8. #include "Chooser.h"
  9.  
  10. /**************************************************************************************
  11.     Note:    Main must get linked at the very beginning of the first file because
  12.             the jump table must be the first entry in the PACK resource. This
  13.             means that no headers that contain linked routines (eg, inlines)
  14.             can be included before this routine.
  15.  **************************************************************************************/
  16. asm void main(void);
  17. asm void main(void)
  18. {
  19.         // Jump Table
  20.         jmp        Chooser
  21. };
  22.  
  23.